<template>
  <div class="home">CRM管理系统 Home</div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created: function () {
    // this.test();
  },
  methods: {
    test() {
      this.$axios({
        method: "post",
        crossdomain: true,
        url: "/dev-plan/one/1",
        // data: this.$qs.stringify({
        //   //这里是发送给后台的数据
        //   name: this.formLabelAlign.userName,
        //   password: this.formLabelAlign.userPassword,
        //   flag: this.formLabelAlign.userRememberMe
        // }),
      })
        .then((response) => {
          //这里使用了ES6的语法
          console.log(response); //请求成功返回的数据
        })
        .catch((error) => {
          console.log(error); //请求失败返回的数据
        });
    },
  },
};
</script>

<style></style>
